home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 126-150 / scopedisk138 / diskusage / du.doc < prev    next >
Encoding:
Text File  |  1995-03-19  |  2.2 KB  |  75 lines

  1. DU                     AMIGA                   DU
  2.  
  3. NAME
  4.        du -- print out disc usage
  5.  
  6. SYNOPSIS
  7.        du [ -s ] [ -S | -F ] [ filename ]
  8.  
  9. DESCRIPTION
  10.  
  11.        du prints out a summary of disc usage  for
  12.        a file or directory.  It is pure, and thus
  13.        can  be  made  resident.  It takes up only
  14.        1436 bytes.
  15.        
  16.        The options to du are:
  17.        
  18.        -s  short  listing.   Print only the total
  19.            number of blocks used.
  20.  
  21.        -S  Calculate the number of blocks used as
  22.            if by the old (Slow) 488 byte-block
  23.            file system.
  24.  
  25.        -F  Calculate the number of blocks used as
  26.            if  by  the  new (Fast) 512 byte block
  27.            file system.
  28.  
  29.        Using the -S and -F options, one can easily
  30.        work  out whether a directory will fit when
  31.        moved between floppy and hard disc.
  32.        Without either option, du interrogates  the
  33.        file system to work out the blocksize.
  34.  
  35. CAVEATS
  36.        du correctly  accounts for directory blocks
  37.        and  file  list  blocks  on  AmigaDOS  file
  38.        systems.    It   will  work  incorectly  on
  39.        MS-DOS volumes mounted via msh: or crossdos. 
  40.  
  41. AUTHOR
  42.        Peter Chubb
  43.        peterc@softway.sw.oz.au
  44.  
  45. DISTRIBUTION
  46.  
  47.  
  48.        Copyright 1990 Peter Chubb
  49.        All rights reserved.
  50.  
  51.        This program and its associated
  52.        documentation may not be distributed for
  53.        profit.  It may be distributed provided 
  54.        
  55.        a) no charge is made other than for
  56.        reasonable copying and media expenses, 
  57.  
  58.        b) no change is made to the source,
  59.        documentation or binary, that is not
  60.        clearly marked as being a change, and 
  61.  
  62.        c) all files are provided.  These comprise:
  63.                du.doc -- this documentation file
  64.                du     -- the program binary
  65.                du.c   -- the program source.
  66.  
  67.        This program is not warranted, or
  68.        guaranteed. You get exactly what you paid
  69.        for -- a copy of the program to do as you
  70.        wish with.  If it crashes your machine,
  71.        writes rude letters to your spouse, or
  72.        explodes in your face ... caveat emptor!
  73.        However, to the best of my knowledge and
  74.        belief it works as advertised.  
  75.